TEMPLATE = lib
TARGET = Xml
QT = core \
    xml
CONFIG += qt \
    create_prl

# VERSION = 1.0.0
# Input
HEADERS += Xml.h \
    XmlDirectory.h \
    XmlException.h \
    XmlFileNotFound.h \
    XmlPath.h \
    XmlTagNotFound.h
SOURCES += Xml.cpp \
    XmlDirectory.cpp \
    XmlException.cpp \
    XmlFileNotFound.cpp \
    XmlImpl.cpp \
    XmlPath.cpp \
    XmlTagNotFound.cpp
macx { 
    DESTDIR = ../../DndTool.app/Contents/Frameworks
    CONFIG += lib_bundle
    
    # QMAKE_FRAMEWORK_BUNDLE_NAME = $$qtLibraryTarget($$TARGET)
    QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/
} else {
    DESTDIR = ../../lib
}
